//
//  DSTableViewCell.m
//  外星球生活圈
//
//  Created by MR.ZHOU on 15/8/12.
//  Copyright (c) 2015年 MR.ZHOU. All rights reserved.
//

#import "ZFTableViewCell.h"

@interface ZFTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *introLabel;
@property (weak, nonatomic) IBOutlet UILabel *pricdLabel;



@end

@implementation ZFTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

#pragma mark -- setList

- (void)setModel:(GuessModel *)model{
    _model = model;
    
    
    [_iconImageView sd_setImageWithString:model.cover];
    
    _nameLabel.text = _model.title;
    
    _pricdLabel.text = [NSString stringWithFormat:@"%@元",_model.price];
    
    _introLabel.text = _model.intro;
    

}

@end
